package cn.ad.model;

import org.apache.ibatis.type.Alias;

/**
 * 素材
 *
 * @author shirongkang
 */
@Alias("gdtMaterialModel")
public class GdtMaterialModel {

	/**
	 * 素材类型
	 */
	private Integer adFormatId;

	/**
	 * 素材id
	 */
	private String auditId;
	/**
	 * gdt sizeId
	 */
	private long gdtAdxSizeId;

	/**
	 * 针对视频素材的播放时长, 单位秒
	 */
	private Integer duration;

	/**
	 * 素材枚举类型 0 视频 1 图片 2 文本
	 */
	private Integer materialTypeId;

	/**
	 * 素材格式枚举类型 1-jpg 2-png 3-gif 4-text 5-mp4 6-flv
	 */
	private Integer materialFormat;

	/**
	 * 素材URL访问地址, 此地址会存在绝对地址和相对地址, 系统应根据实际情况匹配正确的URL地址输出
	 */
	private String materialUrl;

	/**
	 * 用于原生广告的文本内容
	 */
	private String materialText;

	/**
	 * 素材大小尺寸, 描述素材的宽高, 对应ad_size.id
	 */
	private Integer sizeId;

	/**
	 *模版所支持的交互方式，为空时都支持
	 */
	private String interactionType;
	/**
	 *模版所支持的站点，为空时都支持
	 */
	private String media;

	public Integer getAdFormatId() {
		return adFormatId;
	}

	public void setAdFormatId(Integer adFormatId) {
		this.adFormatId = adFormatId;
	}

	public String getAuditId() {
		return auditId;
	}

	public void setAuditId(String auditId) {
		this.auditId = auditId;
	}

	public long getGdtAdxSizeId() {
		return gdtAdxSizeId;
	}

	public void setGdtAdxSizeId(long gdtAdxSizeId) {
		this.gdtAdxSizeId = gdtAdxSizeId;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getMaterialTypeId() {
		return materialTypeId;
	}

	public void setMaterialTypeId(Integer materialTypeId) {
		this.materialTypeId = materialTypeId;
	}

	public Integer getMaterialFormat() {
		return materialFormat;
	}

	public void setMaterialFormat(Integer materialFormat) {
		this.materialFormat = materialFormat;
	}

	public String getMaterialUrl() {
		return materialUrl;
	}

	public void setMaterialUrl(String materialUrl) {
		this.materialUrl = materialUrl;
	}

	public String getMaterialText() {
		return materialText;
	}

	public void setMaterialText(String materialText) {
		this.materialText = materialText;
	}

	public Integer getSizeId() {
		return sizeId;
	}

	public void setSizeId(Integer sizeId) {
		this.sizeId = sizeId;
	}

	public String getInteractionType() {
		return interactionType;
	}

	public void setInteractionType(String interactionType) {
		this.interactionType = interactionType;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}
}
